home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Esportes / HookLine.swf / scripts / DefineButton2_98 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2005-08-04  |  469 b   |  18 lines

  1. on(release){
  2.    if(eval("/:totalFish") >= eval("/:lineLengthP" + eval("/:lineLength")) and eval("/:lineLength") < 5)
  3.    {
  4.       set("/:totalFish",eval("/:totalFish") - eval("/:lineLengthP" + eval("/:lineLength")));
  5.       set("/:lineLength",eval("/:lineLength") + 1);
  6.       _root.leMov.nextFrame();
  7.       leMov2.nextFrame();
  8.       if(eval("/:lineLength") >= 5)
  9.       {
  10.          gotoAndStop(2);
  11.       }
  12.       else
  13.       {
  14.          stop();
  15.       }
  16.    }
  17. }
  18.